home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / phase5 / 68060 / setcachemode.doc < prev    next >
Text File  |  1998-02-05  |  1KB  |  33 lines

  1. SetCacheMode can be used to set the Zorro2 cache modes
  2. to noncacheable to handle certain PC-Bridgecards.
  3.  
  4. SetCacheMode ADDRESS/A/K SIZE/A/K COPYBACK/S WRITETHROUGH NOCACHE/S NOCACHESERIALIZED/S VERBOSE/S
  5.  
  6. Address represents the start address...should be legal memory/z2 config area.
  7. If this area doesn't exist you're in trouble. This means if you have a Z2
  8. board at $200000 to $400000 but nothing behind $400000 you SHOULD NOT use
  9. SetCacheMode to manipulate $400000 and beyond.
  10.  
  11. Size sets the size of the address which cache modes should be changed.
  12. Don't use a Size that doesn't cover legal memory.
  13.  
  14. CopyBack sets the mode of the address range to Copyback.
  15. Read/Write accesses are done through the Cache and if the Cache
  16. needs place it writes down a Line(16 Bytes) and read a new Line.
  17.  
  18. Writethrough sets the mode of the address range to Writethrough
  19. Read accesses are done through the Cache but Write Access go to
  20. the Cache and to the Memory at once. This mode is speeded up by
  21. the cpu060 writebuffer option which is set by default.
  22.  
  23. NoCache sets the mode of the address range to NoCache.
  24. Read and Write accesses don't use the Cache.
  25.  
  26. NoCacheSerialized sets the mode of the address range to NoCacheSerialized.
  27. Read and Write accesses don't use the Cache and go out in the right order.
  28. This mode is important for IO Addresses
  29.  
  30. Example to set the whole Z2 area as noncacheable and serialized
  31.  
  32. SetCacheMode address=$200000 size=$800000 nocacheserialized verbose
  33.